package com.niiwoo.civet.mobile.vo.request.refund;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;


@Getter
@Setter
@ToString
@ApiModel
public class RepayRequestVO {

    @NotNull(message = "项目ID不能为空")
    @Min(value = 1)
    @ApiModelProperty(value = "项目ID", required = true)
    private Long projectId;

    @NotNull(message = "还款类型不能为空")
    @Min(value = 1)
    @Max(value = 2)
    @ApiModelProperty(value = "还款类型(1.立即还款 2.提前结清)", required = true)
    private Byte refundType;

}
